package com.zsk.shop.common.socket.model.socket;

public enum WebsocketReturnCode {
    ERROR("连接失败", 500),
    SUCCESS("连接成功", 200);

    public String status;
    public Integer code;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    WebsocketReturnCode(String status, Integer code) {
        this.status = status;
        this.code = code;
    }
}